package routers

import (
	"2301_book/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/add", &controllers.MainController{}, "post:Add")
	beego.Router("/page", &controllers.MainController{}, "post:Page")
}
